//
//  ControlRegistry.h
//  iCodeMac
//
//  Created by Andrew Barry on 16/05/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class FormControl;

@interface ControlRegistry : NSObject {
	NSMutableArray *names;
	NSMutableArray *basenames;
	NSMutableArray *factories;
}
+(ControlRegistry *) instance;
-(int)count;
-(NSString *) nameForIndex: (int) idx;
-(NSString *) basenameForIndex: (int) idx;
-(FormControl *) controlForName: (NSString *) name;
@end
